96548cac581af37fa9a645792f47cd106efcd51d,clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/Volumes.java,Volumes,fireDeleteEvent,#Volume#,453

Before Change


      final String userName = Accounts.lookupUserById(userId).getName();
      final String accountName = Accounts.lookupAccountById(accountId).getName();

      ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsVolume, false, v.getSize( ),
                                                                   userId, userName, accountId, accountName,
                                                                   v.getScName( ), v.getPartition( ) ) );
    } catch ( final Exception ex ) {

After Change


      final String accountId = v.getOwnerAccountNumber();
      final String userName = Accounts.lookupUserById(userId).getName();
      final String accountName = Accounts.lookupAccountById(accountId).getName();
      final Long volSize = (v.getSize()==null) ? null : v.getSize().longValue()*1024;

      ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsVolume, false, volSize,
                                                                   userId, userName, accountId, accountName,